home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / zlaqsp.z / zlaqsp
Encoding:
Text File  |  2002-10-03  |  4.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ZZZZLLLLAAAAQQQQSSSSPPPP((((3333SSSS))))                                                          ZZZZLLLLAAAAQQQQSSSSPPPP((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ZLAQSP - equilibrate a symmetric matrix A using the scaling factors in
  10.      the vector S
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE ZLAQSP( UPLO, N, AP, S, SCOND, AMAX, EQUED )
  14.  
  15.          CHARACTER      EQUED, UPLO
  16.  
  17.          INTEGER        N
  18.  
  19.          DOUBLE         PRECISION AMAX, SCOND
  20.  
  21.          DOUBLE         PRECISION S( * )
  22.  
  23.          COMPLEX*16     AP( * )
  24.  
  25. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  26.      These routines are part of the SCSL Scientific Library and can be loaded
  27.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  28.      directs the linker to use the multi-processor version of the library.
  29.  
  30.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  31.      4 bytes (32 bits). Another version of SCSL is available in which integers
  32.      are 8 bytes (64 bits).  This version allows the user access to larger
  33.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  34.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  35.      only one of the two versions; 4-byte integer and 8-byte integer library
  36.      calls cannot be mixed.
  37.  
  38. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  39.      ZLAQSP equilibrates a symmetric matrix A using the scaling factors in the
  40.      vector S.
  41.  
  42. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  43.      UPLO    (input) CHARACTER*1
  44.              Specifies whether the upper or lower triangular part of the
  45.              symmetric matrix A is stored.  = 'U':  Upper triangular
  46.              = 'L':  Lower triangular
  47.  
  48.      N       (input) INTEGER
  49.              The order of the matrix A.  N >= 0.
  50.  
  51.      AP      (input/output) COMPLEX*16 array, dimension (N*(N+1)/2)
  52.              On entry, the upper or lower triangle of the symmetric matrix A,
  53.              packed columnwise in a linear array.  The j-th column of A is
  54.              stored in the array AP as follows:  if UPLO = 'U', AP(i + (j-
  55.              1)*j/2) = A(i,j) for 1<=i<=j; if UPLO = 'L', AP(i + (j-1)*(2n-
  56.              j)/2) = A(i,j) for j<=i<=n.
  57.  
  58.              On exit, the equilibrated matrix:  diag(S) * A * diag(S), in the
  59.              same storage format as A.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZZZZLLLLAAAAQQQQSSSSPPPP((((3333SSSS))))                                                          ZZZZLLLLAAAAQQQQSSSSPPPP((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      S       (input) DOUBLE PRECISION array, dimension (N)
  75.              The scale factors for A.
  76.  
  77.      SCOND   (input) DOUBLE PRECISION
  78.              Ratio of the smallest S(i) to the largest S(i).
  79.  
  80.      AMAX    (input) DOUBLE PRECISION
  81.              Absolute value of largest matrix entry.
  82.  
  83.      EQUED   (output) CHARACTER*1
  84.              Specifies whether or not equilibration was done.  = 'N':  No
  85.              equilibration.
  86.              = 'Y':  Equilibration was done, i.e., A has been replaced by
  87.              diag(S) * A * diag(S).
  88.  
  89. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  90.      THRESH is a threshold value used to decide if scaling should be done
  91.      based on the ratio of the scaling factors.  If SCOND < THRESH, scaling is
  92.      done.
  93.  
  94.      LARGE and SMALL are threshold values used to decide if scaling should be
  95.      done based on the absolute size of the largest matrix element.  If AMAX >
  96.      LARGE or AMAX < SMALL, scaling is done.
  97.  
  98. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  99.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  100.  
  101.      This man page is available only online.
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.